package com.lvmama.pangolin.tc.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.lvmama.pangolin.entity.ProductConditionVO;
import com.lvmama.pangolin.entity.tc.TCTicketProduct;
import com.lvmama.pangolin.entity.xc.XCTicketProduct;


public interface TCTicketProductService
{
	int deleteByPrimaryKey(String id);

	int deleteByByProdId(String product_id);

	int insert(TCTicketProduct record);

	int insertSelective(TCTicketProduct record);

	TCTicketProduct selectByPrimaryKey(String id);

	TCTicketProduct selectByProdId(String productId);

	int updateByPrimaryKeySelective(TCTicketProduct record);
	
	int updateByProdIdSelective(TCTicketProduct record);

	int updateByPrimaryKey(TCTicketProduct record);
	
	PageInfo<TCTicketProduct> getAllList(ProductConditionVO sc);
	
	List<TCTicketProduct> selectByName(String name);
	List<TCTicketProduct> selectAll();

	List<TCTicketProduct> selectByUrl(String url);
	
	public void updateByProdId(String productId);
	
	public void deleteLinkByProdId(String productId);
	
}
